package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/5
 * Time: 15:34
 * Description:
 */
@Data
@ApiModel("AbstractPageEntity")
public abstract class AbstractPageEntity implements Serializable {

    @ApiModelProperty(value = "分页页码", dataType = "Integer", notes = "1")
    @TableField(exist = false)
    private Integer page;

    @ApiModelProperty(value = "分页条数", dataType = "Integer", notes = "50")
    @TableField(exist = false)
    private Integer limit;
}
